package main

import "fmt"

type Person struct {
	name string
	age  int
}

func main() {
	//persons := addPerson()
	//fmt.Println(persons)
	demo := make([]int, 2, 5)
	fmt.Println(demo)
}

func addPerson() []Person {
	persons := make([]Person, 0, 10)

	persons = append(persons, Person{"ylf", 22})
	persons = append(persons, Person{"ylf1", 23})
	persons = append(persons, Person{"ylf2", 24})
	return persons
}
